package org.jeecg.talentCooperation.fruit.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("nd_field_fruit_rel")
public class FruitFieldRel implements Serializable {

    private static final long serialVersionUID = 1L;

    /**主键*/
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;


    /**
     * 成果id
     */
    private Long fruitId;

    /**
     * 成果名称
     */
    private String fruitName;

    /**
     * 成果关键词
     */
    private String fruitKeyword;

    /**
     * 成果作者
     */
    private String fruitAuthorName;

    /**
     * 成果作者id
     */
    private String fruitAuthorId;

    /**
     * 成果类型
     */
    private String fruitType;

    /**
     * 成果时间
     */
    private Date fruitPubTime;

    /**
     * 成果摘要
     */
    private String fruitSummary;

    /**
     * 领域字典值
     */
    private String gwFieldNames;

    private String gwFieldKeywords;

    public FruitFieldRel(Long fruitId, String fruitName, String fruitKeyword, String fruitAuthorName, String fruitAuthorId, String fruitType, Date fruitPubTime, String fruitSummary, String gwFieldNames, String gwFieldKeywords) {
        this.fruitId = fruitId;
        this.fruitName = fruitName;
        this.fruitKeyword = fruitKeyword;
        this.fruitAuthorName = fruitAuthorName;
        this.fruitAuthorId = fruitAuthorId;
        this.fruitType = fruitType;
        this.fruitPubTime = fruitPubTime;
        this.fruitSummary = fruitSummary;
        this.gwFieldNames = gwFieldNames;
        this.gwFieldKeywords = gwFieldKeywords;
    }
}

